import request from "@/utils/request";

export function getMaintenanceList(params) {
  return request({
    url: "/maintenance/info/list",
    method: "get",
    params,
  });
}
export function publishMaintenance(data) {
  return request({
    url: "/maintenance/info/publish",
    method: "post",
    data,
  });
}
export function getInspectionInfoList(params) {
  return request({
    url: "/inspectionInfo/info/list",
    method: "get",
    params,
  });
}
export function publishInspectionInfo(data) {
  return request({
    url: "/inspectionInfo/info/publish",
    method: "post",
    data,
  });
}
